/**
 * Created by zzc on 2017/11/21
 */

'use strict'

import {Dimensions, Platform} from 'react-native';

export const ISDEBUG = true

export const PAGE_SIZE=10;//item的个数

const BASE_HOST = "api/common/"

const BASE_HTTP = "https://app.ishangzu.com/"

export const BASE_URL = BASE_HTTP + BASE_HOST

const BASE_FIND_HOUSE_HOST = "isz_onlinehouse/openapi/web/webHouseController/"

const BASE_FIND_HOUSE_HTTP = "https://isz.ishangzu.com/"

export const BASE_FIND_HOUSE_URL = BASE_FIND_HOUSE_HTTP+BASE_FIND_HOUSE_HOST

export const PageStatus = {
    ERROR: 'error',
    SUCCESS: 'success',
    EMPTY: 'empty',
    NETWORK_ERROR:'netError',
    LOADING: 'loading'
};

export const isIOS = Platform.OS === 'ios'

export const PAGE_LOADING="page_loading"

export const DIALOG_LOADING = "dialog_loading"

export const WH100_100 = "@!100w_100h_100Q_app";
export const WH1000_800 = "@!1000w_800h_100Q_app";
export const WH500_400 = "@!500w_400h_100Q_app";
export const WH1500_1500 = "@!1500w_1500h_100Q_app";
